﻿namespace EFS.RC.CC.CHL.Loggers.Messages
{
	public class UserActity : EFS.RC.CC.CHL.Loggers.Messages.Message
	{
		/// Constructor
		public UserActity(
			System.Guid userADGuid,
			System.Int64 activityCode,
			System.String customActivityDescription)
			: base()
		{
			// check
			EFS.Common.Verify.Guid(userADGuid, "userADGuid");

			// set
			this.UserADGuid = userADGuid;
			this.ActivityCode = activityCode;
			this.CustomActivityDescription = customActivityDescription;

			// add to list
			EFS.RC.CC.CHL.Loggers.Logger.Instance.Add(this);
		}

		/// Properties
		public System.Guid UserADGuid { get; private set; }
		public System.Int64 ActivityCode { get; private set; }
		public System.String CustomActivityDescription { get; private set; }
	}

}